package com.example.dubbolearnning.provider.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.example.dubbolearnning.api.intf.DemoService;

/**
 * <Description> <br>
 * 
 * @author panlong189 <br>
 * @version 1.0 <br>
 * @taskId <br>
 * @CreateDate 2018年5月21日 <br>
 * @since 1.0 <br>
 * @see com.example.dubbolearnning.provider.service <br>
 */
@Service(version = "1.0.0", application = "${dubbo.application.id}", protocol = "${dubbo.protocol.id}",
    registry = "${dubbo.registry.id}")
public class DefaultDemoService implements DemoService {
    public String sayHello(String name) {
        return "Hello, " + name + " (from Spring Boot)";
    }
}
